neighbor { ipAddress | ipv6Address | peerGroupName } weight value
no neighbor { ipAddress | ipv6Address | peerGroupName } weight [ value ]
Command introduced before JUNOSe
Release 7.1.0.
ipv6Address variable
added in JUNOSe Release 8.0.0.
Assigns a weight to a neighbor connection. The no version removes a weight assignment. All routes learned from this neighbor will have the assigned weight initially. The route with the highest weight will be chosen as the preferred route when multiple routes are available to a particular network.
The weights assigned with the match as-path and set weight route-map commands override the weights assigned with the neighbor weight and neighbor filter-list commands.
Address Family Configuration, Router Configuration